<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="serverStyles.css" />
    </head>
    <body>
        <h3>Hauptmenu</h3>

        <%
        String user = request.getParameter("user");
        String id = request.getParameter("id");
        %>


        <table class="menutable">
            <tr>
                <td>
                    <form name="menuForm" action="overview.jsp?user=<%= user%>" method="GET">
                        <input type="submit" value="Verbrauch"/>
                    </form>
                </td>
                <td>
                    <form name="menuForm" action="prices.jsp" method="POST">
                        <input type="submit" name="prices" value="Lagerbestand"/>
                    </form>
                </td>
                <td>
                    <form name="menuForm" action="userDetails.jsp" method="POST">
                        <input type="submit" name="userDetails" value="Benutzerdetails"/>
                    </form>
                </td>
            </tr>

        </table>
        <form name="logoutForm" action="index.jsp" method="GET">
            <input type="hidden" name="action" value="logout"/>
            <input type="hidden" name="user"/>

            <input type="hidden" name="id"/>

            <input type="submit" value="Logout"/>

        </form>
    </body>
</html>
